#pragma once
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define EASY_COUNT 3
void InitBoard(char board[ROWS][COLS], int rows, int cols, char set);
void DisplyBoard(char board[ROWS][COLS], int row, int col, char u, char p);
void SetMine(char board[ROWS][COLS], int row, int col);
void FindMine(char board1[ROWS][COLS], char board2[ROWS][COLS], int row, int col, char r, char t);
int get_mine_count(char board[ROWS][COLS], int row, int col);
void bianli(char board1[ROWS][COLS],char board2[ROWS][COLS],int m, int n,int *win);